package com.seari.mapper;

import com.seari.bean.User;
import com.seari.pojo.QueryUser;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;



public interface UserMapper {

	    public User getUserByLogin(String username,String password,String stationName);
        public Map<String,String> getUserById(Map<String,String> param);
        public List<User> getUserByParams(QueryUser qu);
        public int addUser(User user);
        public int updateUser(User user);
        public int checkUserExist(QueryUser qu);
        public int deleteUser(@Param("uid")int uid);
        public int getUserListCount(QueryUser qu);
		public Map<String, Object> getUserByToken(@Param("token")String token);
}
